import request from '@/util/ajax.js'

export function getChestGroupsAPI(reqData) {
  return request({
    url: '/back_front/chestGroups/getService',
    method: 'get',
    params: reqData
  })
}

export function getChestGroupsAllAPI() {
  return request({
    url: '/back_front/chestGroups/getAllService',
    method: 'get'
  })
}

export function createChestGroupAPI(reqData) {
  return request({
    url: '/back_front/chestGroups/createService',
    method: 'post',
    data: reqData
  })
}

export function editChestGroupAPI(reqData) {
  return request({
    url: '/back_front/chestGroups/editService',
    method: 'post',
    data: reqData
  })
}
